package com.app.model;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 小程序用户 与 房屋 绑定关联关系表
 * </p>
 *
 * @author yoominic
 * @since 2025-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_user_fw_join")
public class UserFwJoin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小程序用户id
     */
    private Integer userId;

    /**
     * fw表外键id
     */
    private Integer fwId;

    /**
     * 1主用户  2授权用户
     */
    private Integer identityType;

    /**
     * 绑定时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private String smsVerificationCode;

    @TableField(exist = false)
    private String wechatBoundPhone;


}
